package com.ctshk.rpc.tour.service;

import com.ctshk.common.model.TokenUser;
import com.ctshk.rpc.tour.dto.schedule.SeriesTripScheduleDTO;
import com.ctshk.rpc.tour.dto.schedule.SeriesTripScheduleSubsidyDTO;
import com.ctshk.rpc.tour.req.schedule.SeriesTripScheduleSubsidyReq;

import java.util.List;

public interface ISeriesTripScheduleSubsidyService {

    /**
     * 添加补贴
     * @param seriesTripScheduleSubsidyReq
     */
    void addSubsidy(SeriesTripScheduleSubsidyReq seriesTripScheduleSubsidyReq, TokenUser tokenUser);


    /**
     * 查询补贴
     * @param id 团期id
     * @return 补贴列表
     */
    List<SeriesTripScheduleSubsidyDTO> querySubsidies(Long id);


    /**
     * 修改补贴
     * @param seriesTripScheduleSubsidyReq
     * @param
     */
    void updateSubsidies(SeriesTripScheduleSubsidyReq seriesTripScheduleSubsidyReq, TokenUser tokenUser);


    void deleteSubsidies(Long id);
}
